var aUi = aUi || {};
aUi.bale = {
	// 增加物料
	_materials: function() {
		var html = '<div class="margin"></div>'+
		'<div class="house-positon"><div class="header-title">箱号</div>' +
		'<div class="input-block"><div class="mui-input-row mui-plus-visible input-div">' +
		'<input id="search" type="search" class=" input-content" placeholder="请输入箱号编码">' +
		'	</div><div class="mui-icon-extra mui-icon-extra-sweep sweep-icon"></div>' +
		'</div>' +
		'</div>' +
		'<div class="margin"></div>' +
		'<div class="house-positon">' +
		'<div class="header-title">数量</div>' +
		'	<div class="input-block">' +
		'	<div class="mui-input-row mui-plus-visible input-div">' +
		'<input id="search" type="search" class=" input-content" placeholder="请输入数量">' +
		'</div>' +
		'</div>' +
		'</div>';
		return html;
	},
	// 增加包装箱
	_addBox: function() {
		var html = 	'<ul id="picking0" class="mui-table-view materials-ul">'+
					'<li class="mui-table-view-cell mui-media supplier">'+
						'<div id="pickingli0">'+
							'<div class="margin"></div>'+
							'<div class="house-positon">'+
								'<div class="header-title">物料</div>'+
								'<div class="input-block">'+
									'<div class="mui-input-row mui-plus-visible input-div">'+
										'<input id="search" type="search" class=" input-content" placeholder="请输入物料单号">'+
									'</div>'+
									'<div class="mui-icon-extra mui-icon-extra-sweep sweep-icon"></div>'+
								'</div>'+
							'</div>'+
							'<div class="margin"></div>'+
							'<div class="house-positon">'+
								'<div class="header-title">箱号</div>'+
								'<div class="input-block">'+
									'<div class="mui-input-row mui-plus-visible input-div">'+
										'<input id="search" type="search" class=" input-content" placeholder="请输入箱号编码">'+
									'</div>'+
									'<div class="mui-icon-extra mui-icon-extra-sweep sweep-icon"></div>'+
								'</div>'+
							'</div>'+
							'<div class="margin"></div>'+
							'<div class="house-positon">'+
								'<div class="header-title">数量</div>'+
								'<div class="input-block">'+
									'<div class="mui-input-row mui-plus-visible input-div">'+
										'<input id="search" type="search" class=" input-content" placeholder="请输入数量">'+
									'</div>'+
								'</div>'+
							'</div>'+
						'</div>'+
						'<div class="item-bottom">'+
								'<div class="add-item">'+
									'<div class="add-icon">'+
										'<img src="../../../images/comman/icon-plus.png" >'+
									'</div>'+
									'<div class="add-title">&nbsp添加其他物料</div>'+
								'</div>'+
								'<button  data-id="confirm" type="button" class="mui-btn confirm">确定打包</button>'+
						'</div>'+
					'</li>'+
				'</ul>';

		return html;
	},

	materials: function() {
		return this._materials();
	},


	box: function() {
		return this._addBox();
	},
};
